<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<!-- 新 Bootstrap 核心 CSS 文件 -->
<link href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
 
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
 
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div style="width:90%; margin:2% 5% 0 5% ">
<a class="btn btn-info" type="button" href="FindAllUser.do">全部会员</a>  
<a class="btn btn-info" type="button" href="subordinate.do?id=${LOGINUSER.id}">我的下级</a>
<a class="btn btn-info" type="button">按钮</a>
<table class="table table-bordered" >
								<thead>
									<tr>
										<th>ID</th>
										<th>Name</th>
										
										<th>RealName</th>
										<!-- <th>IDCard</th> -->
										<th>UserStatus</th>
										<th>LeaderID</th>
										<th>RefereeID</th>
										<th>CreateTime</th>
										
										<th>修改</th>
										<th>删除</th>
									
									</tr>
								</thead>
								<tbody>
									<c:if test="${empty users}">
										<tr>
											<td>抱歉！无会员信息</td>
										</tr>
									</c:if>
									<c:if test="${!empty users}">
										<c:forEach items="${users}" var="u">
											<tr>
												<td>${u.id }</td>
												<td>${u.name }</td>
												
												<td>${u.realname }</td>
												<%-- <td>${u.idcard }</td> --%>
												<td>${u.status }</td>
												<td>${u.leader_id }</td>
												<td>${u.referee_id }</td>
												<td>${u.create_time }</td>
												
												<td></td>
												<td></td>
												 
											</tr>
										</c:forEach>
									</c:if>
								</tbody>

							</table>
						</div>
</body>
</html>